package com.beeantec.jnrerc.dto.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@ApiModel(value="发布任务请求类", description="发布任务请求类")
@Data
public class MissionReqDTO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户id", required=true)
    private Long memberId;

    @ApiModelProperty(value = "任务类型(0悬赏任务1竞标任务)", required=true)
    private Integer type;

    @ApiModelProperty(value = "任务开始时间", required=true)
    private Date startTime;
    @ApiModelProperty(value = "任务结束时间", required=true)
    private Date endTime;

    @ApiModelProperty(value = "任务标题", required=true)
    private String titiel;

    @ApiModelProperty(value = "任务内容", required=true)
    private String content;

    @ApiModelProperty(value = "奖励值", required=true)
    private Integer award;

    @ApiModelProperty(value = "奖励类型(0积分1魅力值)", required=true)
    private Integer awardType;
}
